package top.huhuiyu.spirngboot2.total.service.menu;

import top.huhuiyu.spirngboot2.total.base.BaseDataResult;
import top.huhuiyu.spirngboot2.total.entity.menu.TbMenus;

import java.util.List;

public interface MenuService {
    BaseDataResult<List<TbMenus>> queryByUser();

    BaseDataResult<List<TbMenus>> queryByUserTree();

    List<TbMenus> listToTree(List<TbMenus> menus, Integer pid);

    BaseDataResult<List<TbMenus>> queryByUser(Integer pid);
}
